SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa528fce88295f423898fbc78b9540e75d389c13685a1a0e71f6bca515f5a8ca' 
  AND token = 'pD5mjg4VHPykis2hIQ6egtHJy3XGUIdnHcAIrzCjP10=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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