SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3b1380026895825846b2fd8555ecdd4ac79fc3fdf55f4ba1a2b0535b9bc3ecb8' 
  AND token = 'MAGkSgfG1GIPmbFOgfLCJuxc0jwelSLe6/sTSbZQNKE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}