SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7217b35eef61b6b4097cf364a139c7a3768c9e84d89492d37d1d7af06ae81bc5' 
  AND token = 'qJXgijk8ldBCECGw0sl67u84ICibOAErxu2lP8Wd/Fs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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