SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4d4ef903a0ef8848eb1adb4d518d75de2e85a2d5766ed3fc129eb61ca3dba859' 
  AND token = 'Y1X3uVfa0E+7zOHKHbs0R6ZkS8IW5XhrKejnQ9sHS0Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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