SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e5bdbe012eaa8df3a3a182d6de7bc32c5f559592b65ab324e347e323aae55c4' 
  AND token = 'hSzQ7SPiiXFHBW/FWIXfdPPNuwtTi9xoS+5QBfo+ir8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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