SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af6565a6b6dcfc7e9f23aa6bd70dcc4755265195c07a8ac5f68807295fd3bded' 
  AND token = 'wxyYxxr6mbZLnFc8JNEdUuQ8j/44CVu17Z8bUfnsdbs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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