SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '149afc47404c5b2ea63be58af623b943995de6d885d993fb36c65a5059e399f0' 
  AND token = 'iTwhpAjJc6r63ZgvPMxD5fgC1b5ackY2rULieaoWMgw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00123

JSON explain

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