SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0674f077afb59270c70099b6d0b24301e396aed9c3da0b33f013866e07a32949' 
  AND token = 'yWfZpiflXD+7GwMYe6GUjU74LPcDrjJpGYElAl2l1xs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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