SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1caf6ee404b49911d6a4ae9bb503f39fb0187b3f73357a62f49f6f7782633741' 
  AND token = 'qcXoxPzzMvMlAq/fT+EpA7xBuRJdvfGjyCJ1bHZ9AAM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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