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

Query time 0.00016

JSON explain

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