SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4d0f04b76bf7a35a584dc26776d879afade3dddc2c2189560c46e37a12e4eaac' 
  AND token = 'YihSn6etTQU19Gi3UgTzsyEx8Q/tggpvRTU1wCjASlg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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