SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4ff6bc30d64744a4939bd05883a8ec51c4fe6738403a181f58df83232fbabcbf' 
  AND token = 'DOS9mBe9XaI0LgttT3LSpkoUUG8k3sxiMcqzpPK4ZQ4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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