SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a0164e5a0d6b5b44e4f258c12585573fe0f70252bcffa061749c5212ca6c6473' 
  AND token = '+0FdTqTQ6SL7w8iyTo6loXPDCCtG259UoGU3JzY2TLA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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