SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5583f7547d67078fb5b75316c501964130b0e39987799103bc0bb7eabee3ef76' 
  AND token = 'XaQURXwew/pc8nqlR3pkC4OAeDchMtLbhUy61y9YhwY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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