SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a027f7071c593523168461e172406d8a6d19ab70e373e9c4f5f66c4e48962a2a' 
  AND token = 'yjxEpcYuJZNWpy4ehC5MpEbXVigrTH/NrHJ/pZdq3gw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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