SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b7ab2cfa402ab7d968f9266b25e59daf7e1bcb421ca5ac0932b3248e89a17d22' 
  AND token = '1PKjPEOgXEpw7hblzrT0UgFkCPfv8uvAyu+yL8+7Gg8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00123

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}