SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd34e99842143c3e76885432a186a7cb27893287bf5f485cb4245bd9cc6f0d4f' 
  AND token = 'NZ4fX/fr6JxK8bNMGhXo6rPikpwAUsjdKlJN/4c3UgA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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