SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3a0b17d2c3a96dac7e59055d08d777ee1bdf153ebb6179876af53ddcbf517719' 
  AND token = '8uKsB/XN/6QYUx9POwb1JDn+DzRB9PIs/T+YQuEj8ks=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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