SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd12977e6598662697a415f35ba8ea53da159b7d421aac00b952f91ac4b67cc5e' 
  AND token = '9qJdij41NtmNm4BXFiGilygzfs8f7isDhvaNVW6DDXE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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