SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dff3580f616e7d25e9313e01ba90aa050e8e91eac03cb9d3a8e49b714f568f44' 
  AND token = 'XPnZ7Oe/FgG/qSdcoxGwgsT2wpTZeUsJQx6p6Fo56HY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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