SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '563f84b01895afc2d027c322e627d46bc8266314a798d825529b834a96eb8f42' 
  AND token = 'nboCmzJbRxN++L2GZVhpSYGX+pxREwsEAGm4/s4y/N4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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