SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '252ae3445dcf649b584d6beffe3516517731ae6b05d678c049d56df73ccdfd57' 
  AND token = 'FYRkjOHaWWC92x6TjfiU3/ysD+DyvsujqmxJF23BXIM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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