SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '09a7bd78d2329ea0be9d8c94ebc73fc49e63317c082b6ddefa062b404535fe54' 
  AND token = '85eccNnvT1KK9/fX2GN50JKB93pN0swH9aB8RXvfZVM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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