SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0d565099886bd8041fe64c1a4f54c32868a16429c74dc81e0a8a37d953979f4c' 
  AND token = 'NaVyiHdCwCZ//X/vnMtaAMxrzO95KchTRMCrJRG+4e0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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