SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1d25fcb08ba875558b6480478972d255ee95b5ef7703d2ca9fa5f9ab28eef562' 
  AND token = 'Y7JZp936wW4HJzhZRy7ljvcCoGVsYo1pS6Pkd2YxyoI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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