SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd64441b24617a3cda68a020c341a3a46bd6fae01f1c22d3c6b6efb2123938c59' 
  AND token = '6M9N49erD3BPvtsU00ypaY5Xq42HU4lds5emU5sntEU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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