SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a59a7d9b1dab8a2fbb5af5544b6bb4d695421ac7a3239d62c6dcfcd5b01678e' 
  AND token = 'lY52EXf5nl/kf28ZpjZpDoTVN+TVGNnUFy2YjnEX29M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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