SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40da77af442d8f2e2cc0d534b5e72c71928e3b442b02048628befde7e0c6d043' 
  AND token = 'KiIEsnSzhoua6/oCcOptGS4MxB4fJxODpQo/Ii6WxBs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00065

JSON explain

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