SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ac7786d1e6ac73ea07a4f32207a10f80c08f5a7f6af795ec114b884216f4ad19' 
  AND token = 'Re+srqbzN+ds/9VFjlUV3ldqP7NTF0e8RB6aQdz7Rp0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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