SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e789ffab3ec81fc1e119986715c7c24f7f846919136387d3f4e12bbae663984a' 
  AND token = 'DZhJzwib7oX1Dy7SHc4lie42UFbzrL12XIA56/utu7w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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